import request from '@/api/request'
//获取订单列表
function orderList(kv){
  return request({
    url:'/api/leju/admin/order/list',
    method:'GET',
    kv

  })
}
//订单用户信息
function orderUser(kv){
  return request({
    url:'/api/leju/admin/order/orderUserInfo',
    method:'GET',
    kv
  })
}

//订单详情
function orderDetail(kv){
  return request({
    url:'/api/leju/admin/order/detail',
    method:'GET',
    kv
  })
}
//已发货
function sendDone(kv){
  return request({
    url:'/api/leju/admin/order/sendDone',
    method:'POST',
    kv
  })
}
//关闭订单
function closeOrder(kv){
  return request({
    url:'/api/leju/admin/order/closeOrder',
    method:'GET',
    kv
  })
}
export default {
  orderList,
  orderUser,
  orderDetail,
  sendDone,
  closeOrder
}
